package lwh.service;

import java.util.ArrayList;
import java.util.List;

import lwh.domain.SubsectionProject;

public class SubsectionProjectService {
	public List<SubsectionProject> getListBydepartmentName(String departName) {
		List<SubsectionProject> list=new ArrayList<SubsectionProject>();
		list.add(new SubsectionProject(1, "123", "123", "Sub1", "5"));
		list.add(new SubsectionProject(2, "23", "sdaf", "Sub2", "15"));
		list.add(new SubsectionProject(3, "sadfs", "sdaf", "Sub11", "25"));
		list.add(new SubsectionProject(4, "asdf", "sdfa", "Sub21", "51"));
		list.add(new SubsectionProject(5, "asdf", "werfwe", "Sub31", "15"));
		list.add(new SubsectionProject(6, "123", "123", "Sub1", "5"));
		list.add(new SubsectionProject(7, "23", "sdaf", "Sub2", "15"));
		list.add(new SubsectionProject(8, "sadfs", "sdaf", "Sub11", "25"));
		list.add(new SubsectionProject(9, "asdf", "sdfa", "Sub21", "51"));
		list.add(new SubsectionProject(10, "asdf", "werfwe", "Sub31", "15"));
		return list;
	}
	
	public List<SubsectionProject> getListBydepartmentNameAndSubsectionName(String departName,String subsection) {
		List<SubsectionProject> list=new ArrayList<SubsectionProject>();
		list.add(new SubsectionProject(1, "123", "123", "1", "5"));
		list.add(new SubsectionProject(2, "23", "sdaf", "2", "15"));
		list.add(new SubsectionProject(3, "sadfs", "sdaf", "11", "25"));
		list.add(new SubsectionProject(4, "asdf", "sdfa", "11", "51"));
		list.add(new SubsectionProject(5, "asdf", "werfwe", "11", "15"));
		return list;
	}
}
